package com.lframework.xingyun.basedata.vo.make;

import javax.validation.constraints.NotBlank;
import com.lframework.starter.web.core.vo.BaseVo;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.Length;
import java.io.Serializable;
import java.util.List;

import lombok.Data;

@Data
public class CreateMakeMethodVo implements BaseVo, Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 制作名称
     */
    @ApiModelProperty(value = "制作名称", required = true)
    @NotBlank(message = "请输入制作名称！")
    @Length(message = "制作名称最多允许255个字符！")
    private String name;

    /**
     * 制作描述
     */
    @ApiModelProperty(value = "制作描述", required = true)
    @Length(message = "制作描述最多允许65,535个字符！")
    private String description;

    /**
     * 材料列表
     */
    @ApiModelProperty(value = "材料列表", required = true)
    private List<MaterialsVo> materials;

}

